﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Plataforma2D_Kaz
{
    class Stage:Sprite
    {
        public int bgSourceX;

        public Stage(Texture2D image,GameWindow Window ):
            base(image,Window)
        {
            

        }//Stage
        public override void Update(GameTime gameTime)
        {       

        }
        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(this.image, new Rectangle(bgSourceX, 0, this.image.Width, this.image.Height), Color.White);
        }
    }
}
